﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.IO;
namespace ClientSandboxie.cs
{
    /// <summary>
    /// 封装客户端的相关信息
    /// </summary>
   
    public class User
    {
     //public bool normalExit=false;
     //public TcpClient client;
     //   public StreamReader sr;
     //   public StreamWriter sw;
     //   public NetworkStream networkStream;

     //   public User(TcpClient client)
     //   {
     //       this.client = client;
     //       networkStream = client.GetStream();
     //       sr = new StreamReader(networkStream, Encoding.UTF8);
     //       sw = new StreamWriter(networkStream, Encoding.UTF8);
     //       sw.AutoFlush = true;

     //   }
     //   public void CloseUser()
     //   {
     //       sr.Close();
     //       sw.Close();
     //       networkStream.Close();
     //       client.Close();
           
     //   }
    }
    

}
